﻿<Window x:Class="TrailersDownloader.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Icon="Icon.ico"
    Title="Apple Trailers Downloader" Height="150" Width="300">
    <Grid>
        <Grid Margin="10">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <StackPanel Grid.Row="0" Orientation="Horizontal">
                <TextBlock Text="Status:" Margin="3" />
                <TextBlock x:Name="statusTextBlock" Margin="3" />
            </StackPanel>

            <Grid Grid.Row="1" Height="25" Margin="3" >
                <ProgressBar x:Name="currentProgressBar" Minimum="0" Maximum="100"  />
                <TextBlock x:Name="timeLeft" Margin="3" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </Grid>

            <Button x:Name="cancelButton" Grid.Row="2" Content="Cancel" HorizontalAlignment="Center" Margin="3" />
        </Grid>

    </Grid>
</Window>
